//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.xyy.kingdeejdy.pojo.pop;

import java.io.Serializable;

public class SellerOrderCallBackDto implements Serializable {
    private String orderNo;
    private boolean result;
    private String orgId;
    private Integer type;

    public SellerOrderCallBackDto() {
    }

    public String getOrderNo() {
        return this.orderNo;
    }

    public boolean isResult() {
        return this.result;
    }

    public String getOrgId() {
        return this.orgId;
    }

    public Integer getType() {
        return this.type;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof SellerOrderCallBackDto)) {
            return false;
        } else {
            SellerOrderCallBackDto other = (SellerOrderCallBackDto)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$orderNo = this.getOrderNo();
                Object other$orderNo = other.getOrderNo();
                if (this$orderNo == null) {
                    if (other$orderNo != null) {
                        return false;
                    }
                } else if (!this$orderNo.equals(other$orderNo)) {
                    return false;
                }

                if (this.isResult() != other.isResult()) {
                    return false;
                } else {
                    Object this$orgId = this.getOrgId();
                    Object other$orgId = other.getOrgId();
                    if (this$orgId == null) {
                        if (other$orgId != null) {
                            return false;
                        }
                    } else if (!this$orgId.equals(other$orgId)) {
                        return false;
                    }

                    Object this$type = this.getType();
                    Object other$type = other.getType();
                    if (this$type == null) {
                        if (other$type != null) {
                            return false;
                        }
                    } else if (!this$type.equals(other$type)) {
                        return false;
                    }

                    return true;
                }
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof SellerOrderCallBackDto;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $orderNo = this.getOrderNo();
        result = result * 59 + ($orderNo == null ? 43 : $orderNo.hashCode());
        result = result * 59 + (this.isResult() ? 79 : 97);
        Object $orgId = this.getOrgId();
        result = result * 59 + ($orgId == null ? 43 : $orgId.hashCode());
        Object $type = this.getType();
        result = result * 59 + ($type == null ? 43 : $type.hashCode());
        return result;
    }

    public String toString() {
        return "SellerOrderCallBackDto(orderNo=" + this.getOrderNo() + ", result=" + this.isResult() + ", orgId=" + this.getOrgId() + ", type=" + this.getType() + ")";
    }
}
